package win.larryzeal.redisdemo.config;

import org.springframework.context.annotation.*;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by 张少昆 on 2017/1/5.
 */
@Configuration
@PropertySource( "classpath:redis.properties" )
@Import( RedisConfig.class )

@ComponentScan( basePackages = "win.larryzeal", excludeFilters = {@ComponentScan.Filter( type = FilterType.ANNOTATION, value = {Controller.class, RestController.class} )} )
public class AppConfig {

}
